home *** CD-ROM | disk | FTP | other *** search
/ NeXT Education Software Sampler 1992 Fall / NeXT Education Software Sampler 1992 Fall.iso / Programming / Classes / DE_SerialSolutions2.0 / Reader<3.0> / Reader.h < prev    next >
Encoding:
Text File  |  1992-08-19  |  444 b   |  27 lines

  1. #import <appkit/appkit.h>
  2. #import "../SerialAndModem2.0/Serial.h"
  3.  
  4. #define READSTRINGSIZE 100
  5.  
  6. @interface Reader:Serial
  7. {
  8.     SEL    action;
  9.     id    target;
  10.     char readString[READSTRINGSIZE];
  11.     char     termChar;
  12. }
  13.  
  14. - init:( char*) portName baudrate:(int) baudRate;
  15. - (const char*) stringValue;
  16. - setTarget:(SEL) theTarget andID: theID;
  17.  
  18. - target;
  19. - (SEL) action;
  20. - setTarget:anObject;
  21. - setAction:(SEL) aSelector;
  22.  
  23. - setTerm:(char) term;
  24. - charsReady;
  25.  
  26. @end
  27.